<template>
    <div class="div-container">
        <el-table :data="siloWithConfList" class="table-class">
            <!-- <el-table-column label="编号" align="center" key="siloStockId" prop="siloStockId" :show-overflow-tooltip="true"/> -->
            <el-table-column label="名称" align="center" key="siloStockName" prop="siloStockName" :show-overflow-tooltip="true"/>
            <el-table-column label="状态" align="center" key="isOnline" prop="isOnline" :show-overflow-tooltip="true">
                <template slot-scope="scope">
                    <div>{{ scope.row.isOnline == "1"?"在线":"离线" }}</div>
                </template>
          </el-table-column>
          <el-table-column label="连接时间" align="center" prop="createTime" :show-overflow-tooltip="true">
            <template slot-scope="scope">
              <span>{{ parseTime(scope.row.updateTime) }}</span>
            </template>
          </el-table-column>
        </el-table>
    </div>
</template>

<script>

export default {
    props:['siloWithConfList'],
}
</script>

<style lang="scss" scoped>
.div-container{
    // width: 100%;
    height: 100%;
    // overflow: auto;
    // width: 240px;
}
::v-deep .el-table--scrollable-x .el-table__body-wrapper {
    overflow-x: hidden;
  }
.table-class{
  background-color: transparent;
  color: #fff;
}
::v-deep .el-table__expanded-cell {
  background-color: transparent !important;
}
// ::v-deep .el-table__row:hover{
//   background: blue !important;;
// }
::v-deep .el-table th,
::v-deep .el-table tr,
::v-deep .el-table td {
  background-color: transparent;
  color: #fff;
}
</style>